package com.sskj.level.bean;

import com.sskj.level.util.CoinUtil;

public class CoinUpdateBean {
   private String name;//币种名字
   private String price = "1000";//当前价格
   private String sellPrice = "1000";//卖一价
   private String buyPrice = "1000";//买一价
   private String code;//币种代码
   private String shouPer = "0";//每手手续费
   private String minDealNum = "10";//最少交易数量
   private String slidingScalePrice = "0";//最小浮动价格
   private String spread = "0";//点差
   private String levels;//杠杆
   private String paperValue = "1";//一张价值该币种多少

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return CoinUtil.keepCoinPrice(code,price);
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getSellPrice() {
        return CoinUtil.keepCoinPrice(code,price);
    }

    public void setSellPrice(String sellPrice) {
        this.sellPrice = sellPrice;
    }

    public String getBuyPrice() {
        return CoinUtil.keepCoinPrice(code,price);
    }

    public void setBuyPrice(String buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getShouPer() {
        return shouPer;
    }

    public void setShouPer(String shouPer) {
        this.shouPer = shouPer;
    }

    public String getMinDealNum() {
        return CoinUtil.keepCoinPaper(code,minDealNum);
    }

    public void setMinDealNum(String minDealNum) {
        this.minDealNum = minDealNum;
    }

    public String getSlidingScalePrice() {
        return slidingScalePrice;
    }

    public void setSlidingScalePrice(String slidingScalePrice) {
        this.slidingScalePrice = slidingScalePrice;
    }

    public String getSpread() {
        return spread;
    }

    public void setSpread(String spread) {
        this.spread = spread;
    }

    public String getLevels() {
        return levels;
    }

    public void setLevels(String levels) {
        this.levels = levels;
    }

    public String getPaperValue() {
        return paperValue;
    }

    public void setPaperValue(String paperValue) {
        this.paperValue = paperValue;
    }
}
